package org.example.lotterysystem.service;

import org.example.lotterysystem.controller.param.UserLoginParam;
import org.example.lotterysystem.controller.param.UserRegistrParam;
import org.example.lotterysystem.service.dto.UserDTO;
import org.example.lotterysystem.service.dto.UserLoginDTO;
import org.example.lotterysystem.service.dto.UserRegisterDTO;
import org.example.lotterysystem.service.enums.UserIdentityEnum;

import java.util.List;

public interface UserService {
    //注册
    UserRegisterDTO register(UserRegistrParam param);
    //用户登录
    UserLoginDTO login(UserLoginParam param);
    //根据身份信息查询人员列表
    List<UserDTO> findUserInfo(UserIdentityEnum identity);
}
